﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AdminAddsSeetinsDataSet" targetNamespace="http://tempuri.org/AdminAddsSeetinsDataSet.xsd" xmlns:mstns="http://tempuri.org/AdminAddsSeetinsDataSet.xsd" xmlns="http://tempuri.org/AdminAddsSeetinsDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DatabaseConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="DatabaseConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DatabaseConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DBCS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBCS (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DBCS.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AddsSettingTableAdapter" GeneratorDataComponentClassName="AddsSettingTableAdapter" Name="AddsSetting" UserDataComponentName="AddsSettingTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.AddsSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AddsSetting] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AddsSetting] ([Adds Name], [Image], [Link], [Status]) VALUES (@Adds_Name, @Image, @Link, @Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adds_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adds Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Link" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Link" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Id, [Adds Name], Image, Link, Status FROM dbo.AddsSetting</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AddsSetting] SET [Adds Name] = @Adds_Name, [Image] = @Image, [Link] = @Link, [Status] = @Status WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adds_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adds Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Link" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Link" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="Adds Name" DataSetColumn="Adds Name" />
              <Mapping SourceColumn="Image" DataSetColumn="Image" />
              <Mapping SourceColumn="Link" DataSetColumn="Link" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.AddsSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetAddsData" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetAddsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetAddsData" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Id, [Adds Name], Image, Link, Status FROM dbo.AddsSetting</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertQueryADDS" Modifier="Public" Name="InsertQueryADDS" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertQueryADDS">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO AddsSetting
                         ([Adds Name], Image, Link, Status)
VALUES        (@Adds_Name,@Image,@Link,@Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Adds_Name" ColumnName="Adds Name" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Adds_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Adds Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Image" ColumnName="Image" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(110)" DbType="String" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="NVarChar" Scale="0" Size="110" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Link" ColumnName="Link" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Link" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Link" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Status" ColumnName="Status" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateQuery">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       AddsSetting
SET                [Adds Name] = @Adds_Name, Image = @Image, Link = @Link, Status = @Status
WHERE        (Id = @Original_Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Adds_Name" ColumnName="Adds Name" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Adds_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Adds Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Image" ColumnName="Image" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(110)" DbType="String" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="NVarChar" Scale="0" Size="110" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Link" ColumnName="Link" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Link" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Link" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Status" ColumnName="Status" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_Id" ColumnName="Id" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQueryWihoutadd" Modifier="Public" Name="UpdateQueryWihoutadd" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdateQueryWihoutadd">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       AddsSetting
SET                [Adds Name] = @Adds_Name, Link = @Link, Status = @Status
WHERE        (Id = @Original_Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Adds_Name" ColumnName="Adds Name" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Adds_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Adds Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Link" ColumnName="Link" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Link" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Link" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Status" ColumnName="Status" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_Id" ColumnName="Id" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AddsSetting" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AdminAddsSeetinsDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="AdminAddsSeetinsDataSet" msprop:Generator_UserDSName="AdminAddsSeetinsDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AddsSetting" msprop:Generator_TableClassName="AddsSettingDataTable" msprop:Generator_TableVarName="tableAddsSetting" msprop:Generator_TablePropName="AddsSetting" msprop:Generator_RowDeletingName="AddsSettingRowDeleting" msprop:Generator_RowChangingName="AddsSettingRowChanging" msprop:Generator_RowEvHandlerName="AddsSettingRowChangeEventHandler" msprop:Generator_RowDeletedName="AddsSettingRowDeleted" msprop:Generator_UserTableName="AddsSetting" msprop:Generator_RowChangedName="AddsSettingRowChanged" msprop:Generator_RowEvArgName="AddsSettingRowChangeEvent" msprop:Generator_RowClassName="AddsSettingRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="Adds_x0020_Name" msprop:Generator_ColumnVarNameInTable="columnAdds_Name" msprop:Generator_ColumnPropNameInRow="Adds_Name" msprop:Generator_ColumnPropNameInTable="Adds_NameColumn" msprop:Generator_UserColumnName="Adds Name" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Image" msprop:Generator_ColumnVarNameInTable="columnImage" msprop:Generator_ColumnPropNameInRow="Image" msprop:Generator_ColumnPropNameInTable="ImageColumn" msprop:Generator_UserColumnName="Image" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="110" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Link" msprop:Generator_ColumnVarNameInTable="columnLink" msprop:Generator_ColumnPropNameInRow="Link" msprop:Generator_ColumnPropNameInTable="LinkColumn" msprop:Generator_UserColumnName="Link" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AddsSetting" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>